libZPlay documentation (Win32)
IndexReferenceHome
PreviousUpNext
ZPlay.GetEchoParam Method

Get current echo effects.

C#
public int GetEchoParam(ref TEchoEffect[] EchoEffectArray);
Parameters 
Description 
ref TEchoEffect[] EchoEffectArray 
Reference to array of TEchoEffect structures receiving echo effects.
Caution: This array will be resized to receive all echo effects. 

Number of echo effects in EchoEffectArray array.

Function will resize EchoEffectArray array to receive all echo effects. 

Note: By default, new created interface has programmed one simple echo effect, 1000 ms delay, 70 % original volume + 30 % echo volume. 

TEchoEffect[] test = new TEchoEffect[1];
int n = player.GetEchoParam(ref test);
int i;
for (i = 0; i < n; i++)
{
  MessageBox.Show(test[i].nLeftDelay.ToString());
}

 

Copyright (c) 2010. Zoran Cindori - All rights reserved.

Web: http://libzplay.sourceforge.net/

Email: zcindori@inet.hr